<template>
  <div class="show_data">
    <div class="data_header">
      <ul>
        <li>111,111</li>
        <li>22,222</li>
      </ul>
    </div>
    <div class="data_footer">
      <ul>
        <li>数据标题1</li>
        <li>数据标题2</li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
@font-face {
  font-family: electronicFont;
  src: url("../../../assets/demo1/font/DS-DIGIT.TTF");
}

.show_data {
  padding: 15px;
  background: rgba(101, 132, 226, 0.1);
  box-sizing: border-box;

  .data_header {
    position: relative;
    border: 1px solid rgba(25, 186, 139, 0.17);

    > ul {
      display: flex;
      li {
        position: relative;
        flex: 1;
        line-height: 80px;
        font-size: 70px;
        color: #ffeb7b;
        text-align: center;
        font-family: "electronicFont";

        &:nth-child(1)::after {
          position: absolute;
          top: 25%;
          right: 0;
          width: 1px;
          height: 50%;
          background: rgba(255, 255, 255, 0.2);
          content: "";
        }
      }
    }

    &::before {
      position: absolute;
      top: 0;
      left: 0;
      width: 30px;
      height: 10px;
      border-left: 2px solid #02a6b5;
      border-top: 2px solid #02a6b5;
      content: "";
    }

    &::after {
      position: absolute;
      bottom: 0;
      right: 0;
      width: 30px;
      height: 10px;
      border-right: 2px solid #02a6b5;
      border-bottom: 2px solid #02a6b5;
      content: "";
    }
  }

  .data_footer {
    ul {
      display: flex;
      li {
        padding-top: 8px;
        flex: 1;
        text-align: center;
        color: rgba(255, 255, 255, 0.7);
        font-size: 18px;
        height: 40px;
        line-height: 40px;
        box-sizing: border-box;
      }
    }
  }
}
</style>